package main

import "fmt"

func main() {
	ch:=make(chan int)

	go func(c chan int) {
		t:=<-c
		fmt.Println(t,"接收成功")
	}(ch)

	ch <-10
	fmt.Println("发送成功")

}
